﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DemoApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            /*
            var bitOperation = new BitOperationDemo();

            bitOperation.ShowDiff();

            
            var loop = new LoopDemo();
            loop.ShowFor();

            loop.ShowForeach();

            loop.ShowWhile();

            loop.ShowDoWhile();

            loop.ContinutBreak();

            var shapeDemo = new DrawShapeDemo();

            shapeDemo.ShowRectangle();

            shapeDemo.ShowTixing();

            */
            /*
            try
            {
                Console.WriteLine("请输入消费金额");
                var amountstr = Console.ReadLine();
                var amout = int.Parse(amountstr);

                Console.WriteLine("如果是会员请输入1,不是会员请输入0");
                var isVip = Console.ReadLine().Trim() == "1";
                throw new Exception("");
                Console.WriteLine(new Discount().Calculate(amout, isVip));
               
            }
            catch (Exception ex)
            {
                //Console.WriteLine(ex.Message);
                
            }
            finally
            {
                Console.WriteLine("finally");
            }
 */

           

            Console.ReadLine();
        }
    }
}
